package com.greyu.ysj.service;

import java.util.List;

import com.greyu.ysj.entity.CbtInvest;
import com.greyu.ysj.entity.CbtRecharge;
import com.greyu.ysj.model.ResultModel;

public interface CbtRechargeService {
	List<CbtRecharge> getRechargeListByuserId(Integer userId);
	
	double getRechargeAmount(Integer userId,Integer coinId);
	
	ResultModel save(CbtRecharge cbtRecharge);
	
	//List<CbtRecharge> getRechargeListId(Integer userId,Integer coinId);
	
	List<CbtRecharge> getRechargeRecordByuserId(Integer page, Integer rows, Integer userId);
	
	int totalPages(Integer userId,Integer coinId,Integer rows);

}
